<?php
/**
 * Created by PhpStorm.
 * User: jz
 * Date: 16/7/13
 * Time: 上午10:49
 */
require_once ('bookmark_fns.php');
session_start();

$user = $_SESSION['valid_user'];

do_html_header('修改密码');

if (!empty($user)){
    echo "当前用户:$user";
}
?>
<form action="change_passwd.php" method="post">
    <table>
        <tr>
            <td bgcolor="#a9a9a9">原密码</td>
            <td><input type="password" name="old_password"></td>
        </tr>
        <tr>
            <td bgcolor="#a9a9a9">新密码</td>
            <td><input type="password" name="new_password"></td>
        </tr>
        <tr>
            <td bgcolor="#a9a9a9">新密码确认</td>
            <td><input type="password" name="new_password2"></td>
        </tr>
        <tr>
            <td colspan="2"><button type="submit">修改密码</button></td>
        </tr>
    </table>
</form>
<?php
display_user_menu();
do_html_footer();
?>

